package com.redsoft.epip.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 
 * 有赞配置类
 * 
 * <pre>
 * 有赞配置类
 * </pre>
 * 
 * @author LiXiaoDong
 * @date 2017年8月24日
 * @since 1.0
 */
// @Component
@ConfigurationProperties(prefix = "youzan")
public class YouZanProperties {

	/**
	 * 有赞clientId
	 */
	private String clientId;

	/**
	 * 有赞clientSecret
	 */
	private String clientSecret;

	/**
	 * 有赞商铺id
	 */
	private long kdtId;

	/**
	 * 有赞授权回调地址
	 */
	private String callBackUrl;

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getClientSecret() {
		return clientSecret;
	}

	public void setClientSecret(String clientSecret) {
		this.clientSecret = clientSecret;
	}

	public long getKdtId() {
		return kdtId;
	}

	public void setKdtId(long kdtId) {
		this.kdtId = kdtId;
	}

	@Override
	public String toString() {
		return "YouZanProperties [clientId=" + clientId + ", clientSecret=" + clientSecret + ", kdtId=" + kdtId + "]";
	}

}
